package com.hsgene.discount.persistence;

import com.hsgene.coupon.domain.GeneticDiscount;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 优惠券Repository
 *
 * @author wangbing
 * @version 1.0, 2018/10/11
 */
@Repository
public interface GeneticDiscountRepository {

    /**
     * 查询当前有效的优惠券
     *
     * @return 有效的优惠券列表
     */
    List<GeneticDiscount> queryEffectiveDiscount();
}
